﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using COM.Rights.Model;
public partial class Pages_TFunction_Default : ZMPage
{
    protected override void OnLoad()
    {
        base.OnLoad();
        TFunctionInfo_FType.DataSource = from int v in Enum.GetValues(typeof(FunctionType)) select new ListItem(Enum.GetName(typeof(FunctionType), v), v.ToString());
        TFunctionInfo_FType.DataTextField = "Text";
        TFunctionInfo_FType.DataValueField = "Value";
        TFunctionInfo_FType.DataBind();
    }
}